﻿@semy = 0.25
@third = @[1/3]
@fifth = @[1/5]
@sixth = @[1/6]

@canton_scale_cross_x = @[ ( 333 / 768 ) + 0.001 ]
@canton_scale_cross_y = @[ ( 205 / 512 ) + 0.001 ]

@canton_scale_sweden_x = @[ ( 255 / 768 ) + 0.001 ]
@canton_scale_sweden_y = @[ ( 204 / 512 ) + 0.001 ]

@uru_canton_height = 0.556
@NZL_coa_offset = @[3/16] 
@sm_fra = 0.16

@pi = 3.1416

@usa_canton_width = 0.5
@usa_canton_height = @[ 1 / 13 * 7 ]

USA_25 = {
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_25" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}
USA_26 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_26" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_27 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_27" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_28 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_28" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_29 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_29" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_30 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_30" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	}

	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_31 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_31" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_32 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_32" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_33 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_33" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_34 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_34" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_35 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_35" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_36 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_36" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_37 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_37" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_38 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_38" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_39 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_39" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_40 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_40" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_41 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_41" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_42 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_42" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_43 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_43" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_44 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_44" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_45 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_45" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_46 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_46" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_47 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_47" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_48 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_48" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_49 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_49" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_50 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_50" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_51 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_51" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_52 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_52" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_53 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_53" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_54 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_54" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_55 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_55" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_56 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_56" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_57 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_57" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_58 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_58" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_59 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_59" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_60 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_60" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_61 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_61" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_62 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_62" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_63 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_63" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_64 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_64" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_65 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_65" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_66 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_66" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_67 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_67" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_68 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_68" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_69 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_69" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_70 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_70" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_71 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_71" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_72 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_72" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_73 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_73" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_74 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_74" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_75 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_75" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_76 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_76" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_77 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_77" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_78 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_78" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_79 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_79" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_80 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_80" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_81 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_81" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_82 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_82" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_83 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_83" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_84 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_84" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_85 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_85" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_86 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_86" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_87 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_87" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_88 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_88" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_89 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_89" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_90 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_90" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_91 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_91" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_92 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_92" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_93 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_93" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_94 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_94" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_95 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_95" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_96 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_96" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_97 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_97" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_98 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_98" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_99 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_99" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_100 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white"  

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_100" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

### Brunette USA ###

brunette_USA_anarchist = {
	@usa_canton_width = 0.5
	@usa_canton_height = @[ 1 / 13 * 7 ]
	
	pattern = "pattern_solid.tga"
	color1 = "black"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
    sub = {
        parent = "WB_Anarchist_Flag" 
        instance = { scale = { @usa_canton_width @usa_canton_height }  } # top left
    }
	
	sub = {
        parent = "America_WB_brunette_communist_portrait" 
    }
}

brunette_USA = {
	@usa_canton_width = 0.5
	@usa_canton_height = @[ 1 / 13 * 7 ]
	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
    sub = {
        parent = "sub_USA_canton_24" 
        instance = { scale = { @usa_canton_width @usa_canton_height }  } # top left
    }
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}
brunette_USA_coa = {
	# USA Coat of Arms used as a royal banner
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.5 @[5/6] } rotation = 90 }
	}
	
	sub = {
        parent = "America_WB_brunette_monarchist_portrait" 
    }
}
brunette_USA_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.5 @[ 1 / 13 * 7 ] } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.06 0.4 } }
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 - 0.05 ] } scale = { 0.2 0.09 } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.04 0.37 } }
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 - 0.05 ] } scale = { 0.18 0.06 } }		
	}	
	
	sub = {
        parent = "America_WB_brunette_fascist_portrait" 
    }
}
brunette_USA_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	
	textured_emblem = {
		texture = "te_usa_bald_eagle.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.52 } }
	}		
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.16 } }
	}
	textured_emblem = {
		texture = "te_coa_usa.dds"
		instance = { scale = { 0.30 0.32 } position = { 0.5 0.55 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.125 } }
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.875 } }	
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.125 } }
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.875 } }			
		color1 = "white"
		color2 = "white"		
	}	
	
	sub = {
        parent = "America_WB_brunette_fascist_portrait" 
    }
}
brunette_USA_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_stars_circle_13.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.20 0.30 } scale = { 0.5 0.5 } } 
	}	
	colored_emblem = {
		texture = "ce_hammer_sickle_cogwheel_usa.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.20 0.31 } scale = { 0.33 0.33 } } 
	}
	
	sub = {
        parent = "America_WB_brunette_communist_portrait" 
    }
}
brunette_USA_fascist = {	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }	
	}
    sub = {
        parent = "sub_brunette_USA_fascist_eagle" 
        instance = { scale = { 0.5 0.5 } }
    }	

	sub = {
        parent = "America_WB_brunette_fascist_portrait" 
    }	
}

brunette_USA_technocracy = { 
	pattern = "pattern_solid.tga"
	color1 = "grey"
	color2 = "white"
	color3 = "red"
	
	# WB edit
	colored_emblem = {
		texture = "wb_ce_taijitu.dds"
		color1 = "red"
		color2 = "white"
        instance = { position = { 0.5 0.5 } scale = { -0.8 0.8 } }		
	}
	
	sub = {
        parent = "America_WB_brunette_technocracy_portrait" 
    }
}

brunette_USA_25 = {
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_25" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}
brunette_USA_26 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_26" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_27 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_27" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_28 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_28" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_29 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_29" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_30 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_30" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	}

	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_31 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_31" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_32 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_32" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_33 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_33" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_34 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_34" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_35 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_35" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_36 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_36" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_37 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_37" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_38 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_38" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_39 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_39" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_40 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_40" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_41 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_41" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_42 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_42" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_43 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_43" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_44 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_44" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_45 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_45" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_46 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_46" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_47 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_47" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_48 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_48" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_49 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_49" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_50 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_50" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_51 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_51" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_52 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_52" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_53 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_53" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_54 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_54" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_55 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_55" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_56 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_56" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_57 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_57" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_58 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_58" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_59 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_59" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_60 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_60" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_61 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_61" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_62 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_62" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_63 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_63" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_64 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_64" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_65 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_65" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_66 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_66" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_67 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_67" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_68 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_68" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_69 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_69" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_70 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_70" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_71 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_71" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_72 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_72" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_73 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_73" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_74 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_74" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_75 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_75" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_76 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_76" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_77 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_77" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_78 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_78" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_79 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_79" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_80 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_80" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_81 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_81" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_82 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_82" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_83 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_83" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_84 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_84" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_85 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_85" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_86 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_86" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_87 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_87" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_88 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_88" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_89 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_89" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_90 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_90" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_91 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_91" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_92 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_92" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_93 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_93" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_94 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_94" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_95 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_95" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_96 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_96" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_97 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_97" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_98 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_98" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_99 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_99" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

brunette_USA_100 = { 
	pattern = "pattern_solid.tga" 
	color1 = "white"  

	sub = { 
		parent = "sub_USA_stripes" 
	} 
	sub = { 
		parent = "sub_USA_canton_100" 
		instance = { scale = { @usa_canton_width @usa_canton_height } } 
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

# Technocracy portraits

brunette_USA_coa_tech = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.5 @[5/6] } rotation = 90 }
	}
	
	sub = {
        parent = "America_WB_brunette_technocracy_portrait" 
    }
}
brunette_USA_communist_tech = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_stars_circle_13.dds"
		color1 = "white"
		color2 = "red"
		instance = { position = { 0.20 0.30 } scale = { 0.55 0.55 } } 
	}	
	colored_emblem = {
		texture = "wb_ce_taijitu.dds"
		color1 = "red"
		color2 = "white"
		instance = { position = { 0.20 0.31 } scale = { -0.33 0.33 } } 
	}
	
	sub = {
        parent = "America_WB_brunette_technocracy_portrait" 
    }
}


# USA subject flags

USA_subject_flag = {
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	}
	
	sub = {
        parent = "America_WB_subject_portrait" 
    }
}

brunette_USA_subject_flag = {
	pattern = "pattern_solid.tga" 
	color1 = "white" 

	sub = { 
		parent = "sub_USA_stripes" 
	}
	
	sub = {
        parent = "America_WB_subject_portrait_brunette" 
    }
}


#### USA unifier flags ####

## Texas USA

USA_TEX = {
	@lib_canton_width = 0.5
	@lib_canton_height = @[ 1 / 13 * 7 ]
	
	@lib_canton_position_x = @[ lib_canton_width / 2 ]
	@lib_canton_position_y = @[ lib_canton_height / 2 ]
	
	@lib_star_scale = 0.75
	
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { @lib_canton_width @lib_canton_height } position = { @lib_canton_position_x @lib_canton_position_y } }
	}
	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { @[ lib_canton_height * lib_star_scale ] @[ lib_canton_height * lib_star_scale] } position = { @lib_canton_position_x @lib_canton_position_y } }
	} 
	
	sub = {
        parent = "Texas_WB_portrait" 
    }
}

USA_TEX_subject_flag = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	
	sub = {
        parent = "Texas_WB_subject_portrait" 
    }
}

USA_TEX_coa = {
	# USA Coat of Arms used as a royal banner
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.5 @[5/6] } rotation = 90 }
	}
	
	sub = {
        parent = "sub_TEX_coa" 
		instance = { scale = { 0.8 0.8 } offset = { 0.1 0.1 } }
    }
	
	sub = {
        parent = "Texas_WB_portrait" 
    }
}
USA_TEX_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.5 @[ 1 / 13 * 7 ] } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.06 0.4 } }
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 - 0.05 ] } scale = { 0.2 0.09 } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.04 0.37 } }
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 - 0.05 ] } scale = { 0.18 0.06 } }		
	}	
	
	sub = {
        parent = "Texas_WB_portrait" 
    }
}
USA_TEX_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
		
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.125 } }
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.875 } }	
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.125 } }
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.875 } }			
		color1 = "white"
		color2 = "white"		
	}	
	
	colored_emblem = {
		texture = "ce_laurel.dds"
		instance = { scale = { 0.8 0.8 } position = { 0.5 0.57 } }
		color1 = "green"
		color2 = "red"		
	}	
	colored_emblem = {
		texture = "ce_laurel_knot.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.5 0.8 } }
		color1 = "red"
		color2 = "red"		
	}	
	colored_emblem = {
		texture = "ce_shield_accolade_03.dds"
		color1 = "blue_light"
		color2 = "yellow"
		instance = { scale = { 0.65 0.65 } position = { 0.5 0.49 } }		
	}	
	colored_emblem = {
		texture = "ce_star_05_pinwheeled.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.40 0.40 } position = { 0.5 0.5 }  }
	}
	
	sub = {
        parent = "Texas_WB_fascist_portrait" 
    }
}

USA_TEX_fascist = {	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }	
	}
    sub = {
        parent = "sub_USA_fascist_eagle" 
        instance = { scale = { 0.5 0.5 } }
    }	

	sub = {
        parent = "Texas_WB_fascist_portrait" 
    }	
}

USA_TEX_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_stars_circle_13.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.20 0.30 } scale = { 0.5 0.5 } } 
	}	
	colored_emblem = {
		texture = "ce_hammer_sickle_cogwheel_usa.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.20 0.31 } scale = { 0.33 0.33 } } 
	}
	
	sub = {
        parent = "Texas_WB_communist_portrait" 
    }
}

USA_TEX_technocracy = { 
	pattern = "pattern_solid.tga"
	color1 = "grey"
	color2 = "white"
	color3 = "red"
	
	# WB edit
	colored_emblem = {
		texture = "wb_ce_taijitu.dds"
		color1 = "red"
		color2 = "white"
        instance = { position = { 0.5 0.5 } scale = { -0.8 0.8 } }		
	}
	
	sub = {
        parent = "Texas_WB_portrait" 
    }
}


## Oregon USA

sub_Deseret_stars = {
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.05 0.05 } position = { 0.25 0.03 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.18 0.04 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.11 0.05 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.04 0.06 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.145 0.075 } }		
		instance = { scale = { 0.05 0.05 } position = { 0.075 0.085 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.215 0.065 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.32 0.04 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.39 0.05 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.46 0.06 } }
		instance = { scale = { 0.05 0.05 } position = { 0.355 0.075 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.425 0.085 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.285 0.065 } }			
	}
}

USA_ORG = {
	@lib_canton_width = 0.5
	@lib_canton_height = @[ 1 / 13 * 7 ]
	
	@lib_canton_position_x = @[ lib_canton_width / 2 ]
	@lib_canton_position_y = @[ lib_canton_height / 2 ]
	
	@lib_star_scale = 0.75
	
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { @lib_canton_width @lib_canton_height } position = { @lib_canton_position_x @lib_canton_position_y } }
	}
	
	colored_emblem = {
		texture = "ce_beaver.dds"
		color1 = "white"
		color2 = "white"
		color3 = "black"
		instance = { scale = { 0.6 0.6 } position = { 0.25 0.32 } }
	} 
	
	sub = {
        parent = "sub_Deseret_stars" 
		instance = { offset = { 0 0.05 } }
    }
	
	sub = {
        parent = "Cascadia_WB_subject_portrait" 
    }
}

USA_ORG_subject_flag = {
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	
	sub = {
        parent = "Cascadia_WB_subject_portrait" 
    }
}

USA_ORG_coa = {
	# USA Coat of Arms used as a royal banner
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
	color3 = "red"

	colored_emblem = {
		texture = "ce_tricolor_horizontal.dds"
		color1 = color3
		color2 = color3
	}
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = color2
		color2 = color2
		instance = { position = { 0.5 @[5/6] } rotation = 90 }
	}
	
	sub = {
        parent = "Cascadia_WB_portrait" 
    }
}
USA_ORG_theocracy = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.5 @[ 1 / 13 * 7 ] } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "white"
		color2 = "white"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.06 0.4 } }
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 - 0.05 ] } scale = { 0.2 0.09 } }		
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "red"
		color2 = "red"
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.04 0.37 } }
		instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 - 0.05 ] } scale = { 0.18 0.06 } }		
	}	
	
	sub = {
        parent = "Cascadia_WB_subject_portrait" 
    }
}
USA_ORG_dictatorship = {
	pattern = "pattern_solid.tga"
	color1 = "blue"
	color2 = "white"
		
	textured_emblem = {
		texture = "te_usa_bald_eagle.dds"
		instance = { scale = { 0.9 0.9 } position = { 0.5 0.52 } }
	}		
	textured_emblem = {
		texture = "te_crown.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.5 0.16 } }
	}
	textured_emblem = {
		texture = "te_coa_usa.dds"
		instance = { scale = { 0.30 0.32 } position = { 0.5 0.55 } }
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.125 } }
		instance = { scale = { 0.2 0.2 } position = { 0.125 0.875 } }	
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.125 } }
		instance = { scale = { 0.2 0.2 } position = { 0.875 0.875 } }			
		color1 = "white"
		color2 = "white"		
	}
	
	sub = {
        parent = "Cascadia_WB_fascist_portrait" 
    }
}

USA_ORG_fascist = {	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { 0.5 0.5 } position = { 0.25 0.25 } }	
	}
    sub = {
        parent = "sub_USA_fascist_eagle" 
        instance = { scale = { 0.5 0.5 } }
    }	

	sub = {
        parent = "Cascadia_WB_fascist_portrait" 
    }	
}

USA_ORG_communist = {
	pattern = "pattern_solid.tga"
	color1 = "red"

	colored_emblem = {
		texture = "ce_stars_circle_13.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.20 0.30 } scale = { 0.5 0.5 } } 
	}	
	colored_emblem = {
		texture = "ce_hammer_sickle_cogwheel_usa.dds"
		color1 = "yellow"
		color2 = "red"
		instance = { position = { 0.20 0.31 } scale = { 0.33 0.33 } } 
	}
	
	sub = {
        parent = "Cascadia_WB_communist_portrait" 
    }
}

USA_ORG_technocracy = { 
	pattern = "pattern_solid.tga"
	color1 = "grey"
	color2 = "white"
	color3 = "red"
	
	# WB edit
	colored_emblem = {
		texture = "wb_ce_taijitu.dds"
		color1 = "red"
		color2 = "white"
        instance = { position = { 0.5 0.5 } scale = { -0.8 0.8 } }		
	}
	
	sub = {
        parent = "Cascadia_WB_portrait" 
    }
}


## CSA USA

USA_CSA = {
	@lib_canton_width = 0.5
	@lib_canton_height = @[ 1 / 13 * 7 ]
	
	@lib_canton_position_x = @[ lib_canton_width / 2 ]
	@lib_canton_position_y = @[ lib_canton_height / 2 ]
	
	@lib_star_scale = 0.75
	
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	
	sub = {
        parent = "sub_CSA_canton_saltire" 
		instance = { scale = { @usa_canton_width @usa_canton_height } }
    } 
	
	# temporary, CSA girl is planned in the near future
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_CSA_brunette = {
	@lib_canton_width = 0.5
	@lib_canton_height = @[ 1 / 13 * 7 ]
	
	@lib_canton_position_x = @[ lib_canton_width / 2 ]
	@lib_canton_position_y = @[ lib_canton_height / 2 ]
	
	@lib_star_scale = 0.75
	
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	
	sub = {
        parent = "sub_CSA_canton_saltire" 
		instance = { scale = { @usa_canton_width @usa_canton_height } }
    } 
	
	# temporary, CSA girl is planned in the near future
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

## FSA USA

## New England USA
USA_NEN = {
	@lib_canton_width = 0.5
	@lib_canton_height = @[ 1 / 13 * 7 ]
	
	@lib_canton_position_x = @[ lib_canton_width / 2 ]
	@lib_canton_position_y = @[ lib_canton_height / 2 ]
	
	@lib_star_scale = 0.75
	
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { @lib_canton_width @lib_canton_height } position = { @lib_canton_position_x @lib_canton_position_y } }
	}
	
	colored_emblem = {
		texture = "ce_tree_new_england.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { @[ lib_canton_height * lib_star_scale ] @[ lib_canton_height * lib_star_scale] } position = { @lib_canton_position_x @lib_canton_position_y } }
	} 
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_NEN_brunette = {
	@lib_canton_width = 0.5
	@lib_canton_height = @[ 1 / 13 * 7 ]
	
	@lib_canton_position_x = @[ lib_canton_width / 2 ]
	@lib_canton_position_y = @[ lib_canton_height / 2 ]
	
	@lib_star_scale = 0.75
	
	pattern = "pattern_solid.tga"
	color1 = "white"
	
	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	
	colored_emblem = {
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
		instance = { scale = { @lib_canton_width @lib_canton_height } position = { @lib_canton_position_x @lib_canton_position_y } }
	}
	
	colored_emblem = {
		texture = "ce_tree_new_england.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { @[ lib_canton_height * lib_star_scale ] @[ lib_canton_height * lib_star_scale] } position = { @lib_canton_position_x @lib_canton_position_y } }
	} 
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}

## Deseret USA
USA_DES = {
	# Deseret
	
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
        instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.5 @[ 1 / 13 * 7 ] } }				
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.05 0.05 } position = { 0.25 0.03 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.18 0.04 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.11 0.05 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.04 0.06 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.145 0.075 } }		
		instance = { scale = { 0.05 0.05 } position = { 0.075 0.085 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.215 0.065 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.32 0.04 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.39 0.05 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.46 0.06 } }
		instance = { scale = { 0.05 0.05 } position = { 0.355 0.075 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.425 0.085 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.285 0.065 } }			
	}	
	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = "brown_light"
		color2 = "yellow"	
		color3 = "white"
		instance = { scale = { 0.62 0.62 } position = { 0.25 0.28 } }
	}
	colored_emblem = {
		texture = "ce_cannon.dds"
		instance = { scale = { 0.4 0.4 } position = { 0.16 0.44 } }		
		color1 = "yellow_dark"
		color2 = "grey"
		color3 = "orange"
	}
	colored_emblem = {
		texture = "ce_beehive.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.33 0.44 } }		
		color1 = "yellow_dark"
		color2 = "brown_light"		
	}	
	
	sub = {
        parent = "America_WB_portriat" 
    }
}

USA_DES_brunette = {
	pattern = "pattern_solid.tga"
	color1 = "white"

	colored_emblem = {
		texture = "ce_stripes_13.dds"
		color1 = "red"
		color2 = "red"
	}
	colored_emblem = {		
		texture = "ce_solid.dds"
		color1 = "blue"
		color2 = "blue"
        instance = { position = { 0.25 @[ 1 / 13 * 7 / 2 ] } scale = { 0.5 @[ 1 / 13 * 7 ] } }				
	}	
	colored_emblem = {
		texture = "ce_star_05.dds"
		color1 = "white"
		color2 = "white"
		instance = { scale = { 0.05 0.05 } position = { 0.25 0.03 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.18 0.04 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.11 0.05 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.04 0.06 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.145 0.075 } }		
		instance = { scale = { 0.05 0.05 } position = { 0.075 0.085 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.215 0.065 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.32 0.04 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.39 0.05 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.46 0.06 } }
		instance = { scale = { 0.05 0.05 } position = { 0.355 0.075 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.425 0.085 } }	
		instance = { scale = { 0.05 0.05 } position = { 0.285 0.065 } }			
	}	
	colored_emblem = {
		texture = "ce_eagle.dds"
		color1 = "brown_light"
		color2 = "yellow"	
		color3 = "white"
		instance = { scale = { 0.62 0.62 } position = { 0.25 0.28 } }
	}
	colored_emblem = {
		texture = "ce_cannon.dds"
		instance = { scale = { 0.4 0.4 } position = { 0.16 0.44 } }		
		color1 = "yellow_dark"
		color2 = "grey"
		color3 = "orange"
	}
	colored_emblem = {
		texture = "ce_beehive.dds"
		instance = { scale = { 0.25 0.25 } position = { 0.33 0.44 } }		
		color1 = "yellow_dark"
		color2 = "brown_light"		
	}	
	
	sub = {
        parent = "America_WB_brunette_portrait" 
    }
}